String clazzTpl({package}) => """
import 'package:flutter/foundation.dart';

logDebugPrint(String? message, {int? wrapWidth}) {
  if (kDebugMode) {
    debugPrint(message, wrapWidth: wrapWidth);
  }
}

logPrint(Object? object) {
  if (kDebugMode) {
    print(object);
  }
}

extension LogPrintExtension on Object {
  void get print => logPrint(this);
}

extension LogDebugPrintExtension on String {
  void get debugPrint => logDebugPrint(this);
}
""";
